﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class WMSShipInfoToRaipiotDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class WMSShipInfoToRaipiotRequestDto
    {
        /// <summary>
        /// 描述 : 所属基地 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "factory_code")]
        public string factory_code { get; set; }

    }

    public class ToRaipiotInfoRequestDto
    {
        /// <summary>
        /// 描述 : 所属基地 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "transportOrderNo")]
        public string transportOrderNo { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "transportTrackGoodsRequests")]

        public List<ToRaipiot_DetailRequestDto> transportTrackGoodsRequests { get; set; }

    }

    public class ToRaipiot_DetailRequestDto
    {
        /// <summary>
        /// 描述 : 物料名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "goodsName")]
        public string goodsName { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "goodsCode")]
        public string goodsCode { get; set; }

        /// <summary>
        /// 描述 : 数量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "goodsTotal")]
        public decimal goodsTotal { get; set; }

        /// <summary>
        /// 描述 : 来源单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "orderNo")]
        public string orderNo { get; set; }

        /// <summary>
        /// 描述 : 销售订单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "saleNo")]
        public string saleNo { get; set; }


        /// <summary>
        /// 描述 : 销售行ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "subSaleNo")]
        public string subSaleNo { get; set; }


        /// <summary>
        /// 描述 : 集成行号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "subOrderNo")]
        public string subOrderNo { get; set; }

        /// <summary>
        /// 描述 : 送货单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "deliveryNoteNo")]
        public string deliveryNoteNo { get; set; }

        /// <summary>
        /// 描述 : 托号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "caseNo")]
        public string caseNo { get; set; }

        /// <summary>
        /// 描述 : 箱号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "palletNo")]
        public string palletNo { get; set; }

        /// <summary>
        /// 描述 : 收货地址ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "receiveTransportOrderLoadId")]
        public string receiveTransportOrderLoadId { get; set; }

    }

    public class ToRaipiotInfoResponseDto
    {
        /// <summary>
        /// 描述 : 所属基地 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "status")]
        public int status { get; set; }

        /// <summary>
        /// 描述 : 返回消息 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }


    }



    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class WMSShipInfoToRaipiotResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

    }
}
